/**
 *
 */
package com.uaroadshow.webpay.processor;

import com.demo2do.core.wechat.entity.pay.PayConfig;
import com.uaroadshow.webpay.entity.PaymentContext;
import com.uaroadshow.webpay.entity.prepare.PrepareResponse;

/**
 * @author downpour
 *
 */
public interface PaymentProcessor {

    /**
     *
     * @param paymentContext
     * @return
     */
    public PrepareResponse prepare(PaymentContext paymentContext);

    /**
     * 
     * @param payConfig
     * @return
     */
    public boolean validate(PayConfig payConfig);
}
